package lab01;

/**
 * Created by Administrator on 2017/10/9.
 */
public class Text07 {
    public static void main(String[] args) {
        char grade='\0';
        System.out.println("input:");
        try
        {
                 grade=(char)System.in.read();
                 }catch(Exception e)
                {
                 System.out.println(e);
        }
                switch(grade){
                    case 'A':System.out.println(grade+" is 85～100");
                        break;
                    case 'B':System.out.println(grade+" is 70～84");
                        break;
                    case 'C':System.out.println(grade+" is 60～69");
                        break;
                    case 'D':System.out.println(grade+" is<60");
                        break;
                }
            }
}



